package edu.sctu.wujiayi.month06.day20150608.Date;

import java.util.Date;

/**
 * Created by user11 on 2015/6/8.
 */
public class SleepDemo {
    public static void main(String[] args) {
        try{
            System.out.println(new Date() + "\n");
            Thread.sleep(5*60*10);
            System.out.println(new Date() + "\n");
        }catch (Exception e){
            System.out.println("Got an exception");
        }
    }
}
